package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Commentait;
import cn.wolfcode.trip.base.query.CommentaitQueryObject;

import java.util.List;

public interface CommentaitMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Commentait record);

    Commentait selectByPrimaryKey(Long id);

    List<Commentait> selectAll(CommentaitQueryObject qo);

    int updateByPrimaryKey(Commentait record);
    //获取到所有没有读的评论里的@
    List<Commentait> listAllNoReadCommend(Long id);
}